<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-28 00:20:13
 * @lastTime 2020-04-28 00:21:37
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Behavioral\Command;

class Invoker
{

    private $command;


    public function setCommand(Command $command)
    {
        $this->command = $command;

    }//end setCommand()


    public function run()
    {
        $this->command->execute();

    }//end run()


}//end class
